<form class="form-horizontal modal hide fade" action="login.do" method="post" id="loginForm">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h3>请登录</h3>
    </div>
    <div class="modal-body">
        <div class="alert alert-error hide" style="text-align: center"></div>
        <div class="control-group">
            <label class="control-label" for="uid">用户名</label>
            <div class="controls">
                <input id="uid" name="id" type="text"/>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label" for="upwd">密码</label>
            <div class="controls">
                <input id="upwd" name="pwd" type="password"/>
            </div>
        </div>
    </div>
    <div class="modal-footer">
        <button type="button" class="btn" data-dismiss="modal">取消</button>
        <button type="submit" class="btn btn-primary">登录</button>
    </div>
</form>